package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * 评论表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "tanhua_recommend")
public class TanhuaUser implements Serializable {

    private static final long serialVersionUID = 7450893775441758882L;

    private ObjectId id;
    private Long userId;
    private String nickname;
    private Long tanhuaRecommendId;
    private Double score;

}